package com.mit.web.vo.maintenance
{
	import com.mit.web.vo.BaseVO;
	[Bindable]
	[RemoteClass(alias="com.mit.common.maintenance.dto.ProductColorDTO")]
	public class ProductColorVO extends BaseVO
	{
		/** 编码 */
		public var code:String;
		/** 名称 */
		public var name:String;
		public var color:int;
		
		public var original:ProductColorVO;
		
		public function ProductColorVO()
		{
			super();
		}
		
		public function saveOriginal():void{
			original = new ProductColorVO();
			original.name = name;
			original.code = code;
			original.color = color;
		}
		
		public function get codeAndName():String{
			return [code, name].join(" ");
		}
	}
}